package com.situ.day5.cal;

//Class 'Add' must either be declared abstract or implement abstract method 'getResult()' in 'Cal'
//'Add' is abstract; cannot be instantiated   init
public class Add extends AbstractCal {

    public Add() {
    }

    public Add(int num1, int num2) {
        super(num1, num2);
    }

    @Override
    public int getResult() {
        return num1 + num2;
    }


}
